package com.cloud.demo.config;

import com.cloud.demo.entity.User;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;

import java.util.List;

/**
 * @Author: xhn
 */
@FeignClient(value = "DEMO-TEST1")
public interface UserClient {
    @RequestMapping("findAll")
    List <User> findAll2();
}
